/**
 *
 */
package entity;

import java.util.Date;

/*
*
 * @author  宠物商店台帐类
 *
*/
public class Account {
	/*
	 * 帐单标识符
	 */
	private Integer id;

	/*
	 * 交易类型，1--代表商店卖给宠物主人 2--代表宠物主人卖给商店
	 */
	private Integer dealType;

	/*
	 * 宠物标识符
	 */
	private Integer petId;

	/*
	 * 卖家标识符
	 */
	private Integer sellerId;

	/*
	 * 买家标识符
	 */
	private Integer buyerId;

	/*
	 * 交易价格
	 */
	private Integer price;

	/*
	 * 交易时间
	 */
	private Date dealTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDealType() {
		return dealType;
	}

	public void setDealType(Integer dealType) {
		this.dealType = dealType;
	}

	public Integer getPetId() {
		return petId;
	}

	public void setPetId(Integer petId) {
		this.petId = petId;
	}

	public Integer getSellerId() {
		return sellerId;
	}

	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}

	public Integer getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Integer buyerId) {
		this.buyerId = buyerId;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}


}
